package com.js.lib_common.mvp.model.response;

import java.io.Serializable;
import java.util.List;

public class ProcessInfoInfoResponse implements Serializable {

    /**
     * processInfo : {"id":"47ff6600ea254c2eb2a81e53a14e0227","processCode":"GCIYF.12345GY-01","productCode":"12345","processNo":"01","processName":"process-test","createDt":"2021-04-24T18:20:59.000+00:00","modifyDy":null,"createBy":null}
     * processMaterialCodeList : ["212345007","111234500611"]
     */
    private int type;
    private ProcessInfoBean processInfo;//工序基本信息类
    private List<String> processMaterialCodeList;//工序需要使用到的物料编码

    public ProcessInfoBean getProcessInfo() {
        return processInfo;
    }

    public void setProcessInfo(ProcessInfoBean processInfo) {
        this.processInfo = processInfo;
    }

    public List<String> getProcessMaterialCodeList() {
        return processMaterialCodeList;
    }

    public void setProcessMaterialCodeList(List<String> processMaterialCodeList) {
        this.processMaterialCodeList = processMaterialCodeList;
    }

    public static class ProcessInfoBean implements Serializable{
        /**
         * id : 47ff6600ea254c2eb2a81e53a14e0227
         * processCode : GCIYF.12345GY-01
         * productCode : 12345
         * processNo : 01
         * processName : process-test
         * createDt : 2021-04-24T18:20:59.000+00:00
         * modifyDy : null
         * createBy : null
         */

        private String id;
        private String processCode;//工序编码本身
        private String productCode;//所属产品代码
        private String processNo;//序号，工序编码最后两位
        private String processName;//工序名称
        private String createDt;
        private Object modifyDy;
        private Object createBy;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getProcessCode() {
            return processCode;
        }

        public void setProcessCode(String processCode) {
            this.processCode = processCode;
        }

        public String getProductCode() {
            return productCode;
        }

        public void setProductCode(String productCode) {
            this.productCode = productCode;
        }

        public String getProcessNo() {
            return processNo;
        }

        public void setProcessNo(String processNo) {
            this.processNo = processNo;
        }

        public String getProcessName() {
            return processName;
        }

        public void setProcessName(String processName) {
            this.processName = processName;
        }

        public String getCreateDt() {
            return createDt;
        }

        public void setCreateDt(String createDt) {
            this.createDt = createDt;
        }

        public Object getModifyDy() {
            return modifyDy;
        }

        public void setModifyDy(Object modifyDy) {
            this.modifyDy = modifyDy;
        }

        public Object getCreateBy() {
            return createBy;
        }

        public void setCreateBy(Object createBy) {
            this.createBy = createBy;
        }
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
